package com.example.xinli.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.xinli.domain.entity.MoodDiary;
import com.example.xinli.domain.vo.MoodDiaryVo;
import com.example.xinli.domain.vo.ResponseBean;
import com.example.xinli.utils.TokenUtil;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;

public interface IMoodDiaryService extends IService<MoodDiary> {
    public ResponseBean getMoodDiaryByUserId(String userId);
    public ResponseBean addMoodDiary(MoodDiaryVo diaryVo);
    public ResponseBean removeMoodDiary(int diaryId);
    public ResponseBean editMoodDiary(MoodDiaryVo diaryVo);
}

